import React, { useEffect, useState, useRef } from "react";
import { history, connect } from 'umi'
import { Tooltip } from 'antd'
import './index.less'
const Indentation = (props) => {
  const { str, width = 280, type = 'font_noHide' } = props
  return <Tooltip title={str}>
    <div style={{ cursor: 'pointer', maxWidth: width, textAlign: 'center' }} className={type}>{str}</div>
  </Tooltip>
}

export default Indentation